package cn.tedu.qxhouserent.house.mapper;

import cn.tedu.qxhouserent.house.pojo.entity.NewsContent;
import cn.tedu.qxhouserent.house.pojo.entity.NewsDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public interface NewsContentMapper extends BaseMapper<NewsContent> {

    int updateByDetailId(NewsContent newsContent);

    int deleteByDetailId(Long id);
}
